<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Class Recall extends CI_Controller {
	function __construct(){
		parent::__construct();
	}
	public function tag($tag)
	{
		
		$data=array("cof"=>"FORID:10","ie"=>"UTF-8","q"=>$tag,"sa"=>"搜索");
		$data["cx"] = "015031954425074895936:k6k5c51jf2y";
		
		$str = array();
		foreach ($data as $key => $val){
			$str[] = $key . "=" . $val;
		}
		
		$get_str = implode("&", $str);
		
		$url = "search/result.html?" . $get_str;
		
		$this->parser->parse("header",array("title" => "学海拾贝 - 搜索结果"));
		$this->parser->parse("search/result",array("url" => $url));
		$this->parser->parse("footer",array());
	}
}

/* End of file index.php */
/* Location: ./application/controllers/index.php */